package com.ruoyi.project.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.ruoyi.project.domain.dto.CustomerDTO;
import com.ruoyi.project.domain.entity.Customer;

import java.util.List;
import java.util.Map;

/**
 * 客户基本信息表(Customer)表服务接口
 *
 * @author makejava
 * @since 2025-06-30 23:52:17
 */
public interface CustomerService extends IService<Customer> {

    Page<?> listPage(Page<Customer> page, CustomerDTO param);

    List<Customer> queryList(CustomerDTO param);

    CustomerDTO getDtoById(Integer id);

    List<Map<String, String>> getDict();

    boolean saveOrUpdate(CustomerDTO param);
}
